package yunquan.wang.base.config;

import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;

public class SystemEnvy {

	public static final String OS_NAME=System.getProperty("os.name");
	
	
	public static final String USERHOME=System.getProperty("user.home");
 
	public static final String USERDIR=System.getProperty("user.dir");
	/**
	 * @param args
	 */
	public static void main(String[] args) {
	Map<String,String> envy=	System.getenv();
//	for(Entry<String,String> env:envy.entrySet())
//	{
//		System.out.println(env.getKey()+"----"+env.getValue());
//	}

	Properties prop=	System.getProperties();
	for(Entry<Object,Object> env:prop.entrySet())
	{
		System.out.println(env.getKey()+"----"+env.getValue());
	}
	}

}
